package com.lihegang.example.util.configuration;

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.jms.Queue;

/**
 * jms 队列配置
 *
 * @author wujing
 */
@Configuration
public class JmsConfiguration {
 
   @Bean
   public Queue queue() {
      return new ActiveMQQueue("roncoo.queue");
   }
 
}